home *** CD-ROM | disk | FTP | other *** search
/ How Would You Survive? / How Would You Survive (1995)(Grolier)[Mac-PC].iso / mac / SHARED.DIR / 01985_Script_Question Handlers < prev    next >
Text File  |  1995-09-13  |  465b  |  27 lines

  1. global gQuest,gQuestCount
  2.  
  3. on idle
  4.   if objectp(gQuest) then --APN 6/26
  5.     if (doPeriodicTask(gQuest)) then 
  6.       if (the timer > 60) then
  7.         if gQuestCount < 7 then
  8.           flashQuestion(gQuest)
  9.           startTimer
  10.         else
  11.           resetQuestionMark(gQuest)
  12.         end if
  13.       end if
  14.     end if
  15.   end if
  16. end
  17.  
  18.  
  19. on GetQuestion 
  20.   displayQuestionArt(gQuest)
  21. end 
  22.  
  23. on KillQuestion
  24.   hideControl(gQuest)
  25.   set gQuest = 0
  26. end
  27.